package me.hellp.helloworld.design.strategy;

/**
 * 具体的策略实现类：中级会员
 * 
 * @author linxm
 *
 */
public class IntermediateMemberStrategy implements MemberStrategy {

    @Override
    public double calcPrice(double booksPrice) {

        System.out.println("对于中级会员的折扣为10%");
        return booksPrice * 0.9;
    }

}